//
//  TelepathyDataSource.h
//  tcpoctest
//
//  Created by apple on 13-8-5.
//  Copyright (c) 2013年 gump. All rights reserved.
//

enum LightType
{
    TELEP_LT_SUCCESS = 1,
    TELEP_LT_CANDLE = 2,
    TELEP_LT_COIN = 3,
};

@class telepathyInfo;

@interface TelepathyDataSource : NSObject
{
    pthread_mutex_t     mutexTelep;
    
    NSMutableDictionary *telepathyDic;
}

@property(nonatomic,strong)     NSString        *strGetUser;
@property                       int             iCandle;//蜡烛数量
@property                       int             LightBackType;
@property(nonatomic,strong)     telepathyInfo   *curinfo;

-(void)SetGetUser:(NSString *)strmail;
-(NSString *)GetUser;

-(void)AddTelepDic:(telepathyInfo *)tinfo;
-(void)DelAllTeleDic;
-(telepathyInfo *)GetTelepInfoByID:(NSString *)strid;

@end
